﻿using System;
using System.Collections.Generic;
using System.Text;

namespace EShop.Common
{
    [Flags]
    public enum PermissionEnum
    {
        None=0,
        /// <summary>
        /// 收银权限
        /// </summary>
        CashManager = 1,
        /// <summary>
        /// 会员管理权限
        /// </summary>
        MemberManager = 2,
        /// <summary>
        /// 商品管理权限
        /// </summary>
        MerchandiseManager = 4,
        /// <summary>
        /// 库存管理权限
        /// </summary>
        BaseManager = 8,
        /// <summary>
        /// 员工管理权限
        /// </summary>
        EmployeeManager=16,
        /// <summary>
        /// 店长工具权限
        /// </summary>
        ToolManager =32,
        /// <summary>
        /// 超级用户权限
        /// </summary>
        AdminManager = CashManager | MemberManager | MerchandiseManager | BaseManager | EmployeeManager | ToolManager
    }


   
}
